package com.src.xyzk_personal.config;


import com.src.xyzk_personal.EOL.Cartype;

import android.os.Environment;

public class Common {
	public static boolean Debug = true;
	public static boolean Flash = false;
	public static boolean wait = false; //等待
	public static boolean dialog_result = true;
	public static boolean showEolactivity = false;	//activity运行状态
	public static int setmaxtime = 1000;
	public static int cmdsetmaxtime = 2000; //设置命令超时时间
	public static int cmdmaxtime = 2500;
	public static int ServerMaxTime = 5000;	//服务器最大延时
	public static int cmd_freq = 3;
	public static int cmd_freg_Init = 8;	//初始化特殊处理
	public static int waittime = 100; //通讯时间间隔
	public static String Dir = Environment.getExternalStorageDirectory() + "/EOL_DOWNLINE/";  //存储目录
	public static String GuestName = "CHERY_RU";	//客户名称，也是目录名称
	public static String LogDir = Dir + "LOG/";	//LOG记录目录
	public static final String db_name = Dir +GuestName+ "/result.db";
	public static final int Rnull = 0; //结果无
	public static final int Rok = 1;	//ok
	public static final int Rnok = 2;	//nok
	public static String Server_IP1 = "192.168.10.100";
	public static String Server_IP2 = "192.168.10.150";
	public static int Server_PORT = 4000;
	public static String ServerName = "PCHOST";  //服务器名称
	public static String BoxName = "330100001000";		//Box名称
	public static String BoxIP = "192.168.1.1";
	public static int BoxPORT = 5000;
	public static String Mes_Server1 = "";
	public static String Mes_Server2 = "";
	public static String Mes_Server3 = "";
	public static String Mes_version = "";
	public static boolean web_enable = false;
	public static String web_ip = "";
	public static String web_mes = "";
	public static String web_updata = "";
	public static String web_API_File ="";
	public static String web_API_AppStatus = "";
	public static String web_API_SelectPinforVin = "";
	public static String web_API_SelectHeat = "";
	public static String web_GetPin= "";
	public static String web_GetTPMS = "";
	public static String web_GetTCU  = "";
	public static String web_upresult = "";
	public static String web_upfile = "";
	public static int Tbox_Port = 8110;
	public static String Tbox_start ="";
	public static int Printnum = 1;	//打印机序号
	public static int Communication = 0;  //默认蓝牙
	public static int UpToMyMes = 0;
	public static int PrintPinnum = 0;	//打印密码本序号
	public static int DeFault_Eol = 0; //默认做初始化
	public static String Lang = "zh";
	public static Cartype cartype = new Cartype();
	public static boolean isConnect=false;
	public static String password="";
	public static int CanMode = 0; //default
	public static int configmode = 1;
	public static String ProjectName = "Eol_Russia";  //项目名称

	public static String IP = "http://114.132.44.211";
	public static String queryUpdate = IP + "/prod-api/system/file/selectAppFile"; //查询版本更新ip地址
	public static String saveApkPath = Environment.getExternalStorageDirectory()+"/DownLoad/android/apk/";   //apk存储目录
	public static String appVersion = null ; //服务器上的软件版本
	public static String appNote = null; //软件版本更新内容
	public static String FileName = null; //版本更新下载的文件名称
	public static String resource = null; //软件版本更新路径，下载版本时使用
	public static boolean dialog_isok = true; //是否要弹出窗口，避免弹出多个窗口
	public static Boolean downStatus = true ; //下载状态
	public static String downloadUpdate = IP + "/prod-api/common/download/resource"; //下载版本软件ip地址
	public static String Web_Result_Add = "";//数据上传Url
	public static String Web_Result_Uploadfile = ""; //日志文件上传UrL
	public static boolean updata_isok = true;//上传数据成功或者失败

}
